package com.jay.base.fanshe;

/**
 * Created by caoyuan7 on 2020/8/12.
 */
public class Demo01 {

    public static void main(String args[]) throws ClassNotFoundException {
        String s1 = "abc";
        Class c1 = s1.getClass();
        System.out.println(c1.getName());

        Class c2 = Class.forName("java.lang.String");
        System.out.println(c2.getName());

        Class c3 = String.class;
        System.out.println(c3.getName());
    }
}
